<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html lang="en">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>LCOV - id:000977,sync:fuzzer2,src:001052.lcov_info_final - test/specexamples.h</title>
  <link rel="stylesheet" type="text/css" href="../gcov.css">
</head>

<body>

  <table width="100%" border=0 cellspacing=0 cellpadding=0>
    <tr><td class="title">LCOV - code coverage report</td></tr>
    <tr><td class="ruler"><img src="../glass.png" width=3 height=3 alt=""></td></tr>

    <tr>
      <td width="100%">
        <table cellpadding=1 border=0 width="100%">
          <tr>
            <td width="10%" class="headerItem">Current view:</td>
            <td width="35%" class="headerValue"><a href="../index.html">top level</a> - <a href="index.html">test</a> - specexamples.h<span style="font-size: 80%;"> (source / <a href="specexamples.h.func-sort-c.html">functions</a>)</span></td>
            <td width="5%"></td>
            <td width="15%"></td>
            <td width="10%" class="headerCovTableHead">Hit</td>
            <td width="10%" class="headerCovTableHead">Total</td>
            <td width="15%" class="headerCovTableHead">Coverage</td>
          </tr>
          <tr>
            <td class="headerItem">Test:</td>
            <td class="headerValue">id:000977,sync:fuzzer2,src:001052.lcov_info_final</td>
            <td></td>
            <td class="headerItem">Lines:</td>
            <td class="headerCovTableEntry">0</td>
            <td class="headerCovTableEntry">3</td>
            <td class="headerCovTableEntryLo">0.0 %</td>
          </tr>
          <tr>
            <td class="headerItem">Date:</td>
            <td class="headerValue">2016-03-13 10:42:47</td>
            <td></td>
            <td class="headerItem">Functions:</td>
            <td class="headerCovTableEntry">0</td>
            <td class="headerCovTableEntry">0</td>
            <td class="headerCovTableEntryHi">-</td>
          </tr>
          <tr><td><img src="../glass.png" width=3 height=3 alt=""></td></tr>
        </table>
      </td>
    </tr>

    <tr><td class="ruler"><img src="../glass.png" width=3 height=3 alt=""></td></tr>
  </table>

  <table cellpadding=0 cellspacing=0 border=0>
    <tr>
      <td><br></td>
    </tr>
    <tr>
      <td>
<pre class="sourceHeading">          Line data    Source code</pre>
<pre class="source">
<a name="1"><span class="lineNum">       1 </span>            : namespace {</a>
<span class="lineNum">       2 </span>            : const char *ex2_1 =
<span class="lineNum">       3 </span>            :     &quot;- Mark McGwire\n&quot;
<span class="lineNum">       4 </span>            :     &quot;- Sammy Sosa\n&quot;
<span class="lineNum">       5 </span>            :     &quot;- Ken Griffey&quot;;
<span class="lineNum">       6 </span>            : 
<span class="lineNum">       7 </span>            : const char *ex2_2 =
<span class="lineNum">       8 </span>            :     &quot;hr:  65    # Home runs\n&quot;
<span class="lineNum">       9 </span>            :     &quot;avg: 0.278 # Batting average\n&quot;
<span class="lineNum">      10 </span>            :     &quot;rbi: 147   # Runs Batted In&quot;;
<span class="lineNum">      11 </span>            : 
<span class="lineNum">      12 </span>            : const char *ex2_3 =
<span class="lineNum">      13 </span>            :     &quot;american:\n&quot;
<span class="lineNum">      14 </span>            :     &quot;- Boston Red Sox\n&quot;
<span class="lineNum">      15 </span>            :     &quot;- Detroit Tigers\n&quot;
<span class="lineNum">      16 </span>            :     &quot;- New York Yankees\n&quot;
<span class="lineNum">      17 </span>            :     &quot;national:\n&quot;
<span class="lineNum">      18 </span>            :     &quot;- New York Mets\n&quot;
<span class="lineNum">      19 </span>            :     &quot;- Chicago Cubs\n&quot;
<span class="lineNum">      20 </span>            :     &quot;- Atlanta Braves&quot;;
<span class="lineNum">      21 </span>            : 
<span class="lineNum">      22 </span>            : const char *ex2_4 =
<span class="lineNum">      23 </span>            :     &quot;-\n&quot;
<span class="lineNum">      24 </span>            :     &quot;  name: Mark McGwire\n&quot;
<span class="lineNum">      25 </span>            :     &quot;  hr:   65\n&quot;
<span class="lineNum">      26 </span>            :     &quot;  avg:  0.278\n&quot;
<span class="lineNum">      27 </span>            :     &quot;-\n&quot;
<span class="lineNum">      28 </span>            :     &quot;  name: Sammy Sosa\n&quot;
<span class="lineNum">      29 </span>            :     &quot;  hr:   63\n&quot;
<span class="lineNum">      30 </span>            :     &quot;  avg:  0.288&quot;;
<span class="lineNum">      31 </span>            : 
<span class="lineNum">      32 </span>            : const char *ex2_5 =
<span class="lineNum">      33 </span>            :     &quot;- [name        , hr, avg  ]\n&quot;
<span class="lineNum">      34 </span>            :     &quot;- [Mark McGwire, 65, 0.278]\n&quot;
<span class="lineNum">      35 </span>            :     &quot;- [Sammy Sosa  , 63, 0.288]&quot;;
<span class="lineNum">      36 </span>            : 
<span class="lineNum">      37 </span>            : const char *ex2_6 =
<span class="lineNum">      38 </span>            :     &quot;Mark McGwire: {hr: 65, avg: 0.278}\n&quot;
<span class="lineNum">      39 </span>            :     &quot;Sammy Sosa: {\n&quot;
<span class="lineNum">      40 </span>            :     &quot;    hr: 63,\n&quot;
<span class="lineNum">      41 </span>            :     &quot;    avg: 0.288\n&quot;
<span class="lineNum">      42 </span>            :     &quot;  }&quot;;
<span class="lineNum">      43 </span>            : 
<span class="lineNum">      44 </span>            : const char *ex2_7 =
<span class="lineNum">      45 </span>            :     &quot;# Ranking of 1998 home runs\n&quot;
<span class="lineNum">      46 </span>            :     &quot;---\n&quot;
<span class="lineNum">      47 </span>            :     &quot;- Mark McGwire\n&quot;
<span class="lineNum">      48 </span>            :     &quot;- Sammy Sosa\n&quot;
<span class="lineNum">      49 </span>            :     &quot;- Ken Griffey\n&quot;
<span class="lineNum">      50 </span>            :     &quot;\n&quot;
<span class="lineNum">      51 </span>            :     &quot;# Team ranking\n&quot;
<span class="lineNum">      52 </span>            :     &quot;---\n&quot;
<span class="lineNum">      53 </span>            :     &quot;- Chicago Cubs\n&quot;
<span class="lineNum">      54 </span>            :     &quot;- St Louis Cardinals&quot;;
<span class="lineNum">      55 </span>            : 
<span class="lineNum">      56 </span>            : const char *ex2_8 =
<span class="lineNum">      57 </span>            :     &quot;---\n&quot;
<span class="lineNum">      58 </span>            :     &quot;time: 20:03:20\n&quot;
<span class="lineNum">      59 </span>            :     &quot;player: Sammy Sosa\n&quot;
<span class="lineNum">      60 </span>            :     &quot;action: strike (miss)\n&quot;
<span class="lineNum">      61 </span>            :     &quot;...\n&quot;
<span class="lineNum">      62 </span>            :     &quot;---\n&quot;
<span class="lineNum">      63 </span>            :     &quot;time: 20:03:47\n&quot;
<span class="lineNum">      64 </span>            :     &quot;player: Sammy Sosa\n&quot;
<span class="lineNum">      65 </span>            :     &quot;action: grand slam\n&quot;
<span class="lineNum">      66 </span>            :     &quot;...&quot;;
<span class="lineNum">      67 </span>            : 
<span class="lineNum">      68 </span>            : const char *ex2_9 =
<span class="lineNum">      69 </span>            :     &quot;---\n&quot;
<span class="lineNum">      70 </span>            :     &quot;hr: # 1998 hr ranking\n&quot;
<span class="lineNum">      71 </span>            :     &quot;  - Mark McGwire\n&quot;
<span class="lineNum">      72 </span>            :     &quot;  - Sammy Sosa\n&quot;
<span class="lineNum">      73 </span>            :     &quot;rbi:\n&quot;
<span class="lineNum">      74 </span>            :     &quot;  # 1998 rbi ranking\n&quot;
<span class="lineNum">      75 </span>            :     &quot;  - Sammy Sosa\n&quot;
<span class="lineNum">      76 </span>            :     &quot;  - Ken Griffey&quot;;
<span class="lineNum">      77 </span>            : 
<span class="lineNum">      78 </span>            : const char *ex2_10 =
<span class="lineNum">      79 </span>            :     &quot;---\n&quot;
<span class="lineNum">      80 </span>            :     &quot;hr:\n&quot;
<span class="lineNum">      81 </span>            :     &quot;  - Mark McGwire\n&quot;
<span class="lineNum">      82 </span>            :     &quot;  # Following node labeled SS\n&quot;
<span class="lineNum">      83 </span>            :     &quot;  - &amp;SS Sammy Sosa\n&quot;
<span class="lineNum">      84 </span>            :     &quot;rbi:\n&quot;
<span class="lineNum">      85 </span>            :     &quot;  - *SS # Subsequent occurrence\n&quot;
<span class="lineNum">      86 </span>            :     &quot;  - Ken Griffey&quot;;
<span class="lineNum">      87 </span>            : 
<span class="lineNum">      88 </span>            : const char *ex2_11 =
<span class="lineNum">      89 </span>            :     &quot;? - Detroit Tigers\n&quot;
<span class="lineNum">      90 </span>            :     &quot;  - Chicago cubs\n&quot;
<span class="lineNum">      91 </span>            :     &quot;:\n&quot;
<span class="lineNum">      92 </span>            :     &quot;  - 2001-07-23\n&quot;
<span class="lineNum">      93 </span>            :     &quot;\n&quot;
<span class="lineNum">      94 </span>            :     &quot;? [ New York Yankees,\n&quot;
<span class="lineNum">      95 </span>            :     &quot;    Atlanta Braves ]\n&quot;
<span class="lineNum">      96 </span>            :     &quot;: [ 2001-07-02, 2001-08-12,\n&quot;
<span class="lineNum">      97 </span>            :     &quot;    2001-08-14 ]&quot;;
<span class="lineNum">      98 </span>            : 
<span class="lineNum">      99 </span>            : const char *ex2_12 =
<span class="lineNum">     100 </span>            :     &quot;---\n&quot;
<span class="lineNum">     101 </span>            :     &quot;# Products purchased\n&quot;
<span class="lineNum">     102 </span>            :     &quot;- item    : Super Hoop\n&quot;
<span class="lineNum">     103 </span>            :     &quot;  quantity: 1\n&quot;
<span class="lineNum">     104 </span>            :     &quot;- item    : Basketball\n&quot;
<span class="lineNum">     105 </span>            :     &quot;  quantity: 4\n&quot;
<span class="lineNum">     106 </span>            :     &quot;- item    : Big Shoes\n&quot;
<span class="lineNum">     107 </span>            :     &quot;  quantity: 1&quot;;
<span class="lineNum">     108 </span>            : 
<span class="lineNum">     109 </span>            : const char *ex2_13 =
<span class="lineNum">     110 </span>            :     &quot;# ASCII Art\n&quot;
<span class="lineNum">     111 </span>            :     &quot;--- |\n&quot;
<span class="lineNum">     112 </span>            :     &quot;  \\//||\\/||\n&quot;
<span class="lineNum">     113 </span>            :     &quot;  // ||  ||__&quot;;
<span class="lineNum">     114 </span>            : 
<span class="lineNum">     115 </span>            : const char *ex2_14 =
<span class="lineNum">     116 </span>            :     &quot;--- &gt;\n&quot;
<span class="lineNum">     117 </span>            :     &quot;  Mark McGwire's\n&quot;
<span class="lineNum">     118 </span>            :     &quot;  year was crippled\n&quot;
<span class="lineNum">     119 </span>            :     &quot;  by a knee injury.&quot;;
<span class="lineNum">     120 </span>            : 
<span class="lineNum">     121 </span>            : const char *ex2_15 =
<span class="lineNum">     122 </span>            :     &quot;&gt;\n&quot;
<span class="lineNum">     123 </span>            :     &quot; Sammy Sosa completed another\n&quot;
<span class="lineNum">     124 </span>            :     &quot; fine season with great stats.\n&quot;
<span class="lineNum">     125 </span>            :     &quot; \n&quot;
<span class="lineNum">     126 </span>            :     &quot;   63 Home Runs\n&quot;
<span class="lineNum">     127 </span>            :     &quot;   0.288 Batting Average\n&quot;
<span class="lineNum">     128 </span>            :     &quot; \n&quot;
<span class="lineNum">     129 </span>            :     &quot; What a year!&quot;;
<span class="lineNum">     130 </span>            : 
<span class="lineNum">     131 </span>            : const char *ex2_16 =
<span class="lineNum">     132 </span>            :     &quot;name: Mark McGwire\n&quot;
<span class="lineNum">     133 </span>            :     &quot;accomplishment: &gt;\n&quot;
<span class="lineNum">     134 </span>            :     &quot;  Mark set a major league\n&quot;
<span class="lineNum">     135 </span>            :     &quot;  home run record in 1998.\n&quot;
<span class="lineNum">     136 </span>            :     &quot;stats: |\n&quot;
<span class="lineNum">     137 </span>            :     &quot;  65 Home Runs\n&quot;
<span class="lineNum">     138 </span>            :     &quot;  0.278 Batting Average\n&quot;;
<span class="lineNum">     139 </span>            : 
<span class="lineNum">     140 </span>            : const char *ex2_17 =
<span class="lineNum">     141 </span>            :     &quot;unicode: \&quot;Sosa did fine.\\u263A\&quot;\n&quot;
<span class="lineNum">     142 </span>            :     &quot;control: \&quot;\\b1998\\t1999\\t2000\\n\&quot;\n&quot;
<span class="lineNum">     143 </span>            :     &quot;hex esc: \&quot;\\x0d\\x0a is \\r\\n\&quot;\n&quot;
<span class="lineNum">     144 </span>            :     &quot;\n&quot;
<span class="lineNum">     145 </span>            :     &quot;single: '\&quot;Howdy!\&quot; he cried.'\n&quot;
<span class="lineNum">     146 </span>            :     &quot;quoted: ' # Not a ''comment''.'\n&quot;
<span class="lineNum">     147 </span>            :     &quot;tie-fighter: '|\\-*-/|'&quot;;
<span class="lineNum">     148 </span>            : 
<span class="lineNum">     149 </span>            : const char *ex2_18 =
<span class="lineNum">     150 </span>            :     &quot;plain:\n&quot;
<span class="lineNum">     151 </span>            :     &quot;  This unquoted scalar\n&quot;
<span class="lineNum">     152 </span>            :     &quot;  spans many lines.\n&quot;
<span class="lineNum">     153 </span>            :     &quot;\n&quot;
<span class="lineNum">     154 </span>            :     &quot;quoted: \&quot;So does this\n&quot;
<span class="lineNum">     155 </span>            :     &quot;  quoted scalar.\\n\&quot;&quot;;
<span class="lineNum">     156 </span>            : 
<span class="lineNum">     157 </span>            : // TODO: 2.19 - 2.22 schema tags
<span class="lineNum">     158 </span>            : 
<span class="lineNum">     159 </span>            : const char *ex2_23 =
<span class="lineNum">     160 </span>            :     &quot;---\n&quot;
<span class="lineNum">     161 </span>            :     &quot;not-date: !!str 2002-04-28\n&quot;
<span class="lineNum">     162 </span>            :     &quot;\n&quot;
<span class="lineNum">     163 </span>            :     &quot;picture: !!binary |\n&quot;
<span class="lineNum">     164 </span>            :     &quot; R0lGODlhDAAMAIQAAP//9/X\n&quot;
<span class="lineNum">     165 </span>            :     &quot; 17unp5WZmZgAAAOfn515eXv\n&quot;
<span class="lineNum">     166 </span>            :     &quot; Pz7Y6OjuDg4J+fn5OTk6enp\n&quot;
<span class="lineNum">     167 </span>            :     &quot; 56enmleECcgggoBADs=\n&quot;
<span class="lineNum">     168 </span>            :     &quot;\n&quot;
<span class="lineNum">     169 </span>            :     &quot;application specific tag: !something |\n&quot;
<span class="lineNum">     170 </span>            :     &quot; The semantics of the tag\n&quot;
<span class="lineNum">     171 </span>            :     &quot; above may be different for\n&quot;
<span class="lineNum">     172 </span>            :     &quot; different documents.&quot;;
<span class="lineNum">     173 </span>            : 
<span class="lineNum">     174 </span>            : const char *ex2_24 =
<span class="lineNum">     175 </span>            :     &quot;%TAG ! tag:clarkevans.com,2002:\n&quot;
<span class="lineNum">     176 </span>            :     &quot;--- !shape\n&quot;
<span class="lineNum">     177 </span>            :     &quot;  # Use the ! handle for presenting\n&quot;
<span class="lineNum">     178 </span>            :     &quot;  # tag:clarkevans.com,2002:circle\n&quot;
<span class="lineNum">     179 </span>            :     &quot;- !circle\n&quot;
<span class="lineNum">     180 </span>            :     &quot;  center: &amp;ORIGIN {x: 73, y: 129}\n&quot;
<span class="lineNum">     181 </span>            :     &quot;  radius: 7\n&quot;
<span class="lineNum">     182 </span>            :     &quot;- !line\n&quot;
<span class="lineNum">     183 </span>            :     &quot;  start: *ORIGIN\n&quot;
<span class="lineNum">     184 </span>            :     &quot;  finish: { x: 89, y: 102 }\n&quot;
<span class="lineNum">     185 </span>            :     &quot;- !label\n&quot;
<span class="lineNum">     186 </span>            :     &quot;  start: *ORIGIN\n&quot;
<span class="lineNum">     187 </span>            :     &quot;  color: 0xFFEEBB\n&quot;
<span class="lineNum">     188 </span>            :     &quot;  text: Pretty vector drawing.&quot;;
<span class="lineNum">     189 </span>            : 
<span class="lineNum">     190 </span>            : const char *ex2_25 =
<span class="lineNum">     191 </span>            :     &quot;# Sets are represented as a\n&quot;
<span class="lineNum">     192 </span>            :     &quot;# Mapping where each key is\n&quot;
<span class="lineNum">     193 </span>            :     &quot;# associated with a null value\n&quot;
<span class="lineNum">     194 </span>            :     &quot;--- !!set\n&quot;
<span class="lineNum">     195 </span>            :     &quot;? Mark McGwire\n&quot;
<span class="lineNum">     196 </span>            :     &quot;? Sammy Sosa\n&quot;
<span class="lineNum">     197 </span>            :     &quot;? Ken Griffey&quot;;
<span class="lineNum">     198 </span>            : 
<span class="lineNum">     199 </span>            : const char *ex2_26 =
<span class="lineNum">     200 </span>            :     &quot;# Ordered maps are represented as\n&quot;
<span class="lineNum">     201 </span>            :     &quot;# A sequence of mappings, with\n&quot;
<span class="lineNum">     202 </span>            :     &quot;# each mapping having one key\n&quot;
<span class="lineNum">     203 </span>            :     &quot;--- !!omap\n&quot;
<span class="lineNum">     204 </span>            :     &quot;- Mark McGwire: 65\n&quot;
<span class="lineNum">     205 </span>            :     &quot;- Sammy Sosa: 63\n&quot;
<span class="lineNum">     206 </span>            :     &quot;- Ken Griffey: 58&quot;;
<span class="lineNum">     207 </span>            : 
<span class="lineNum">     208 </span>            : const char *ex2_27 =
<span class="lineNum">     209 </span>            :     &quot;--- !&lt;tag:clarkevans.com,2002:invoice&gt;\n&quot;
<span class="lineNum">     210 </span>            :     &quot;invoice: 34843\n&quot;
<span class="lineNum">     211 </span>            :     &quot;date   : 2001-01-23\n&quot;
<span class="lineNum">     212 </span>            :     &quot;bill-to: &amp;id001\n&quot;
<span class="lineNum">     213 </span>            :     &quot;    given  : Chris\n&quot;
<span class="lineNum">     214 </span>            :     &quot;    family : Dumars\n&quot;
<span class="lineNum">     215 </span>            :     &quot;    address:\n&quot;
<span class="lineNum">     216 </span>            :     &quot;        lines: |\n&quot;
<span class="lineNum">     217 </span>            :     &quot;            458 Walkman Dr.\n&quot;
<span class="lineNum">     218 </span>            :     &quot;            Suite #292\n&quot;
<span class="lineNum">     219 </span>            :     &quot;        city    : Royal Oak\n&quot;
<span class="lineNum">     220 </span>            :     &quot;        state   : MI\n&quot;
<span class="lineNum">     221 </span>            :     &quot;        postal  : 48046\n&quot;
<span class="lineNum">     222 </span>            :     &quot;ship-to: *id001\n&quot;
<span class="lineNum">     223 </span>            :     &quot;product:\n&quot;
<span class="lineNum">     224 </span>            :     &quot;    - sku         : BL394D\n&quot;
<span class="lineNum">     225 </span>            :     &quot;      quantity    : 4\n&quot;
<span class="lineNum">     226 </span>            :     &quot;      description : Basketball\n&quot;
<span class="lineNum">     227 </span>            :     &quot;      price       : 450.00\n&quot;
<span class="lineNum">     228 </span>            :     &quot;    - sku         : BL4438H\n&quot;
<span class="lineNum">     229 </span>            :     &quot;      quantity    : 1\n&quot;
<span class="lineNum">     230 </span>            :     &quot;      description : Super Hoop\n&quot;
<span class="lineNum">     231 </span>            :     &quot;      price       : 2392.00\n&quot;
<span class="lineNum">     232 </span>            :     &quot;tax  : 251.42\n&quot;
<span class="lineNum">     233 </span>            :     &quot;total: 4443.52\n&quot;
<span class="lineNum">     234 </span>            :     &quot;comments:\n&quot;
<span class="lineNum">     235 </span>            :     &quot;    Late afternoon is best.\n&quot;
<span class="lineNum">     236 </span>            :     &quot;    Backup contact is Nancy\n&quot;
<span class="lineNum">     237 </span>            :     &quot;    Billsmer @ 338-4338.&quot;;
<span class="lineNum">     238 </span>            : 
<span class="lineNum">     239 </span>            : const char *ex2_28 =
<span class="lineNum">     240 </span>            :     &quot;---\n&quot;
<span class="lineNum">     241 </span>            :     &quot;Time: 2001-11-23 15:01:42 -5\n&quot;
<span class="lineNum">     242 </span>            :     &quot;User: ed\n&quot;
<span class="lineNum">     243 </span>            :     &quot;Warning:\n&quot;
<span class="lineNum">     244 </span>            :     &quot;  This is an error message\n&quot;
<span class="lineNum">     245 </span>            :     &quot;  for the log file\n&quot;
<span class="lineNum">     246 </span>            :     &quot;---\n&quot;
<span class="lineNum">     247 </span>            :     &quot;Time: 2001-11-23 15:02:31 -5\n&quot;
<span class="lineNum">     248 </span>            :     &quot;User: ed\n&quot;
<span class="lineNum">     249 </span>            :     &quot;Warning:\n&quot;
<span class="lineNum">     250 </span>            :     &quot;  A slightly different error\n&quot;
<span class="lineNum">     251 </span>            :     &quot;  message.\n&quot;
<span class="lineNum">     252 </span>            :     &quot;---\n&quot;
<span class="lineNum">     253 </span>            :     &quot;Date: 2001-11-23 15:03:17 -5\n&quot;
<span class="lineNum">     254 </span>            :     &quot;User: ed\n&quot;
<span class="lineNum">     255 </span>            :     &quot;Fatal:\n&quot;
<span class="lineNum">     256 </span>            :     &quot;  Unknown variable \&quot;bar\&quot;\n&quot;
<span class="lineNum">     257 </span>            :     &quot;Stack:\n&quot;
<span class="lineNum">     258 </span>            :     &quot;  - file: TopClass.py\n&quot;
<span class="lineNum">     259 </span>            :     &quot;    line: 23\n&quot;
<span class="lineNum">     260 </span>            :     &quot;    code: |\n&quot;
<span class="lineNum">     261 </span>            :     &quot;      x = MoreObject(\&quot;345\\n\&quot;)\n&quot;
<span class="lineNum">     262 </span>            :     &quot;  - file: MoreClass.py\n&quot;
<span class="lineNum">     263 </span>            :     &quot;    line: 58\n&quot;
<span class="lineNum">     264 </span>            :     &quot;    code: |-\n&quot;
<span class="lineNum">     265 </span>            :     &quot;      foo = bar&quot;;
<span class="lineNum">     266 </span>            : 
<span class="lineNum">     267 </span>            : // TODO: 5.1 - 5.2 BOM
<span class="lineNum">     268 </span>            : 
<span class="lineNum">     269 </span>            : const char *ex5_3 =
<span class="lineNum">     270 </span>            :     &quot;sequence:\n&quot;
<span class="lineNum">     271 </span>            :     &quot;- one\n&quot;
<span class="lineNum">     272 </span>            :     &quot;- two\n&quot;
<span class="lineNum">     273 </span>            :     &quot;mapping:\n&quot;
<span class="lineNum">     274 </span>            :     &quot;  ? sky\n&quot;
<span class="lineNum">     275 </span>            :     &quot;  : blue\n&quot;
<span class="lineNum">     276 </span>            :     &quot;  sea : green&quot;;
<span class="lineNum">     277 </span>            : 
<span class="lineNum">     278 </span>            : const char *ex5_4 =
<span class="lineNum">     279 </span>            :     &quot;sequence: [ one, two, ]\n&quot;
<span class="lineNum">     280 </span>            :     &quot;mapping: { sky: blue, sea: green }&quot;;
<span class="lineNum">     281 </span>            : 
<span class="lineNum">     282 </span>            : const char *ex5_5 = &quot;# Comment only.&quot;;
<span class="lineNum">     283 </span>            : 
<span class="lineNum">     284 </span>            : const char *ex5_6 =
<span class="lineNum">     285 </span>            :     &quot;anchored: !local &amp;anchor value\n&quot;
<span class="lineNum">     286 </span>            :     &quot;alias: *anchor&quot;;
<span class="lineNum">     287 </span>            : 
<span class="lineNum">     288 </span>            : const char *ex5_7 =
<span class="lineNum">     289 </span>            :     &quot;literal: |\n&quot;
<span class="lineNum">     290 </span>            :     &quot;  some\n&quot;
<span class="lineNum">     291 </span>            :     &quot;  text\n&quot;
<span class="lineNum">     292 </span>            :     &quot;folded: &gt;\n&quot;
<span class="lineNum">     293 </span>            :     &quot;  some\n&quot;
<span class="lineNum">     294 </span>            :     &quot;  text\n&quot;;
<span class="lineNum">     295 </span>            : 
<span class="lineNum">     296 </span>            : const char *ex5_8 =
<span class="lineNum">     297 </span>            :     &quot;single: 'text'\n&quot;
<span class="lineNum">     298 </span>            :     &quot;double: \&quot;text\&quot;&quot;;
<span class="lineNum">     299 </span>            : 
<span class="lineNum">     300 </span>            : // TODO: 5.9 directive
<span class="lineNum">     301 </span>            : // TODO: 5.10 reserved indicator
<span class="lineNum">     302 </span>            : 
<span class="lineNum">     303 </span>            : const char *ex5_11 =
<span class="lineNum">     304 </span>            :     &quot;|\n&quot;
<span class="lineNum">     305 </span>            :     &quot;  Line break (no glyph)\n&quot;
<span class="lineNum">     306 </span>            :     &quot;  Line break (glyphed)\n&quot;;
<span class="lineNum">     307 </span>            : 
<span class="lineNum">     308 </span>            : const char *ex5_12 =
<span class="lineNum">     309 </span>            :     &quot;# Tabs and spaces\n&quot;
<span class="lineNum">     310 </span>            :     &quot;quoted: \&quot;Quoted\t\&quot;\n&quot;
<span class="lineNum">     311 </span>            :     &quot;block:        |\n&quot;
<span class="lineNum">     312 </span>            :     &quot;  void main() {\n&quot;
<span class="lineNum">     313 </span>            :     &quot;  \tprintf(\&quot;Hello, world!\\n\&quot;);\n&quot;
<span class="lineNum">     314 </span>            :     &quot;  }&quot;;
<span class="lineNum">     315 </span>            : 
<span class="lineNum">     316 </span>            : const char *ex5_13 =
<span class="lineNum">     317 </span>            :     &quot;\&quot;Fun with \\\\\n&quot;
<span class="lineNum">     318 </span>            :     &quot;\\\&quot; \\a \\b \\e \\f \\\n&quot;
<span class="lineNum">     319 </span>            :     &quot;\\n \\r \\t \\v \\0 \\\n&quot;
<span class="lineNum">     320 </span>            :     &quot;\\  \\_ \\N \\L \\P \\\n&quot;
<span class="lineNum">     321 </span>            :     &quot;\\x41 \\u0041 \\U00000041\&quot;&quot;;
<span class="lineNum">     322 </span>            : 
<span class="lineNum">     323 </span>            : const char *ex5_14 =
<span class="lineNum">     324 </span>            :     &quot;Bad escapes:\n&quot;
<span class="lineNum">     325 </span>            :     &quot;  \&quot;\\c\n&quot;
<span class="lineNum">     326 </span>            :     &quot;  \\xq-\&quot;&quot;;
<span class="lineNum">     327 </span>            : 
<span class="lineNum">     328 </span>            : const char *ex6_1 =
<span class="lineNum">     329 </span>            :     &quot;  # Leading comment line spaces are\n&quot;
<span class="lineNum">     330 </span>            :     &quot;   # neither content nor indentation.\n&quot;
<span class="lineNum">     331 </span>            :     &quot;    \n&quot;
<span class="lineNum">     332 </span>            :     &quot;Not indented:\n&quot;
<span class="lineNum">     333 </span>            :     &quot; By one space: |\n&quot;
<span class="lineNum">     334 </span>            :     &quot;    By four\n&quot;
<span class="lineNum">     335 </span>            :     &quot;      spaces\n&quot;
<span class="lineNum">     336 </span>            :     &quot; Flow style: [    # Leading spaces\n&quot;
<span class="lineNum">     337 </span>            :     &quot;   By two,        # in flow style\n&quot;
<span class="lineNum">     338 </span>            :     &quot;  Also by two,    # are neither\n&quot;
<span class="lineNum">     339 </span>            :     &quot;  \tStill by two   # content nor\n&quot;
<span class="lineNum">     340 </span>            :     &quot;    ]             # indentation.&quot;;
<span class="lineNum">     341 </span>            : 
<span class="lineNum">     342 </span>            : const char *ex6_2 =
<span class="lineNum">     343 </span>            :     &quot;? a\n&quot;
<span class="lineNum">     344 </span>            :     &quot;: -\tb\n&quot;
<span class="lineNum">     345 </span>            :     &quot;  -  -\tc\n&quot;
<span class="lineNum">     346 </span>            :     &quot;     - d&quot;;
<span class="lineNum">     347 </span>            : 
<span class="lineNum">     348 </span>            : const char *ex6_3 =
<span class="lineNum">     349 </span>            :     &quot;- foo:\t bar\n&quot;
<span class="lineNum">     350 </span>            :     &quot;- - baz\n&quot;
<span class="lineNum">     351 </span>            :     &quot;  -\tbaz&quot;;
<span class="lineNum">     352 </span>            : 
<span class="lineNum">     353 </span>            : const char *ex6_4 =
<span class="lineNum">     354 </span>            :     &quot;plain: text\n&quot;
<span class="lineNum">     355 </span>            :     &quot;  lines\n&quot;
<span class="lineNum">     356 </span>            :     &quot;quoted: \&quot;text\n&quot;
<span class="lineNum">     357 </span>            :     &quot;  \tlines\&quot;\n&quot;
<span class="lineNum">     358 </span>            :     &quot;block: |\n&quot;
<span class="lineNum">     359 </span>            :     &quot;  text\n&quot;
<span class="lineNum">     360 </span>            :     &quot;   \tlines\n&quot;;
<span class="lineNum">     361 </span>            : 
<span class="lineNum">     362 </span>            : const char *ex6_5 =
<span class="lineNum">     363 </span>            :     &quot;Folding:\n&quot;
<span class="lineNum">     364 </span>            :     &quot;  \&quot;Empty line\n&quot;
<span class="lineNum">     365 </span>            :     &quot;   \t\n&quot;
<span class="lineNum">     366 </span>            :     &quot;  as a line feed\&quot;\n&quot;
<span class="lineNum">     367 </span>            :     &quot;Chomping: |\n&quot;
<span class="lineNum">     368 </span>            :     &quot;  Clipped empty lines\n&quot;
<span class="lineNum">     369 </span>            :     &quot; &quot;;
<span class="lineNum">     370 </span>            : 
<span class="lineNum">     371 </span>            : const char *ex6_6 =
<span class="lineNum">     372 </span>            :     &quot;&gt;-\n&quot;
<span class="lineNum">     373 </span>            :     &quot;  trimmed\n&quot;
<span class="lineNum">     374 </span>            :     &quot;  \n&quot;
<span class="lineNum">     375 </span>            :     &quot; \n&quot;
<span class="lineNum">     376 </span>            :     &quot;\n&quot;
<span class="lineNum">     377 </span>            :     &quot;  as\n&quot;
<span class="lineNum">     378 </span>            :     &quot;  space&quot;;
<span class="lineNum">     379 </span>            : 
<span class="lineNum">     380 </span>            : const char *ex6_7 =
<span class="lineNum">     381 </span>            :     &quot;&gt;\n&quot;
<span class="lineNum">     382 </span>            :     &quot;  foo \n&quot;
<span class="lineNum">     383 </span>            :     &quot; \n&quot;
<span class="lineNum">     384 </span>            :     &quot;  \t bar\n&quot;
<span class="lineNum">     385 </span>            :     &quot;\n&quot;
<span class="lineNum">     386 </span>            :     &quot;  baz\n&quot;;
<span class="lineNum">     387 </span>            : 
<span class="lineNum">     388 </span>            : const char *ex6_8 =
<span class="lineNum">     389 </span>            :     &quot;\&quot;\n&quot;
<span class="lineNum">     390 </span>            :     &quot;  foo \n&quot;
<span class="lineNum">     391 </span>            :     &quot; \n&quot;
<span class="lineNum">     392 </span>            :     &quot;  \t bar\n&quot;
<span class="lineNum">     393 </span>            :     &quot;\n&quot;
<span class="lineNum">     394 </span>            :     &quot;  baz\n&quot;
<span class="lineNum">     395 </span>            :     &quot;\&quot;&quot;;
<span class="lineNum">     396 </span>            : 
<span class="lineNum">     397 </span>            : const char *ex6_9 =
<span class="lineNum">     398 </span>            :     &quot;key:    # Comment\n&quot;
<span class="lineNum">     399 </span>            :     &quot;  value&quot;;
<span class="lineNum">     400 </span>            : 
<span class="lineNum">     401 </span>            : const char *ex6_10 =
<span class="lineNum">     402 </span>            :     &quot;  # Comment\n&quot;
<span class="lineNum">     403 </span>            :     &quot;   \n&quot;
<span class="lineNum">     404 </span>            :     &quot;\n&quot;;
<span class="lineNum">     405 </span>            : 
<span class="lineNum">     406 </span>            : const char *ex6_11 =
<span class="lineNum">     407 </span>            :     &quot;key:    # Comment\n&quot;
<span class="lineNum">     408 </span>            :     &quot;        # lines\n&quot;
<span class="lineNum">     409 </span>            :     &quot;  value\n&quot;
<span class="lineNum">     410 </span>            :     &quot;\n&quot;;
<span class="lineNum">     411 </span>            : 
<span class="lineNum">     412 </span>            : const char *ex6_12 =
<span class="lineNum">     413 </span>            :     &quot;{ first: Sammy, last: Sosa }:\n&quot;
<span class="lineNum">     414 </span>            :     &quot;# Statistics:\n&quot;
<span class="lineNum">     415 </span>            :     &quot;  hr:  # Home runs\n&quot;
<span class="lineNum">     416 </span>            :     &quot;     65\n&quot;
<span class="lineNum">     417 </span>            :     &quot;  avg: # Average\n&quot;
<span class="lineNum">     418 </span>            :     &quot;   0.278&quot;;
<span class="lineNum">     419 </span>            : 
<span class="lineNum">     420 </span>            : const char *ex6_13 =
<span class="lineNum">     421 </span>            :     &quot;%FOO  bar baz # Should be ignored\n&quot;
<span class="lineNum">     422 </span>            :     &quot;               # with a warning.\n&quot;
<span class="lineNum">     423 </span>            :     &quot;--- \&quot;foo\&quot;&quot;;
<span class="lineNum">     424 </span>            : 
<span class="lineNum">     425 </span>            : const char *ex6_14 =
<span class="lineNum">     426 </span>            :     &quot;%YAML 1.3 # Attempt parsing\n&quot;
<span class="lineNum">     427 </span>            :     &quot;           # with a warning\n&quot;
<span class="lineNum">     428 </span>            :     &quot;---\n&quot;
<span class="lineNum">     429 </span>            :     &quot;\&quot;foo\&quot;&quot;;
<span class="lineNum">     430 </span>            : 
<span class="lineNum">     431 </span>            : const char *ex6_15 =
<span class="lineNum">     432 </span>            :     &quot;%YAML 1.2\n&quot;
<span class="lineNum">     433 </span>            :     &quot;%YAML 1.1\n&quot;
<span class="lineNum">     434 </span>            :     &quot;foo&quot;;
<span class="lineNum">     435 </span>            : 
<span class="lineNum">     436 </span>            : const char *ex6_16 =
<span class="lineNum">     437 </span>            :     &quot;%TAG !yaml! tag:yaml.org,2002:\n&quot;
<span class="lineNum">     438 </span>            :     &quot;---\n&quot;
<span class="lineNum">     439 </span>            :     &quot;!yaml!str \&quot;foo\&quot;&quot;;
<span class="lineNum">     440 </span>            : 
<span class="lineNum">     441 </span>            : const char *ex6_17 =
<span class="lineNum">     442 </span>            :     &quot;%TAG ! !foo\n&quot;
<span class="lineNum">     443 </span>            :     &quot;%TAG ! !foo\n&quot;
<span class="lineNum">     444 </span>            :     &quot;bar&quot;;
<span class="lineNum">     445 </span>            : 
<span class="lineNum">     446 </span>            : const char *ex6_18 =
<span class="lineNum">     447 </span>            :     &quot;# Private\n&quot;
<span class="lineNum">     448 </span>            :     &quot;!foo \&quot;bar\&quot;\n&quot;
<span class="lineNum">     449 </span>            :     &quot;...\n&quot;
<span class="lineNum">     450 </span>            :     &quot;# Global\n&quot;
<span class="lineNum">     451 </span>            :     &quot;%TAG ! tag:example.com,2000:app/\n&quot;
<span class="lineNum">     452 </span>            :     &quot;---\n&quot;
<span class="lineNum">     453 </span>            :     &quot;!foo \&quot;bar\&quot;&quot;;
<span class="lineNum">     454 </span>            : 
<span class="lineNum">     455 </span>            : const char *ex6_19 =
<span class="lineNum">     456 </span>            :     &quot;%TAG !! tag:example.com,2000:app/\n&quot;
<span class="lineNum">     457 </span>            :     &quot;---\n&quot;
<span class="lineNum">     458 </span>            :     &quot;!!int 1 - 3 # Interval, not integer&quot;;
<span class="lineNum">     459 </span>            : 
<span class="lineNum">     460 </span>            : const char *ex6_20 =
<span class="lineNum">     461 </span>            :     &quot;%TAG !e! tag:example.com,2000:app/\n&quot;
<span class="lineNum">     462 </span>            :     &quot;---\n&quot;
<span class="lineNum">     463 </span>            :     &quot;!e!foo \&quot;bar\&quot;&quot;;
<span class="lineNum">     464 </span>            : 
<span class="lineNum">     465 </span>            : const char *ex6_21 =
<span class="lineNum">     466 </span>            :     &quot;%TAG !m! !my-\n&quot;
<span class="lineNum">     467 </span>            :     &quot;--- # Bulb here\n&quot;
<span class="lineNum">     468 </span>            :     &quot;!m!light fluorescent\n&quot;
<span class="lineNum">     469 </span>            :     &quot;...\n&quot;
<span class="lineNum">     470 </span>            :     &quot;%TAG !m! !my-\n&quot;
<span class="lineNum">     471 </span>            :     &quot;--- # Color here\n&quot;
<span class="lineNum">     472 </span>            :     &quot;!m!light green&quot;;
<span class="lineNum">     473 </span>            : 
<span class="lineNum">     474 </span>            : const char *ex6_22 =
<span class="lineNum">     475 </span>            :     &quot;%TAG !e! tag:example.com,2000:app/\n&quot;
<span class="lineNum">     476 </span>            :     &quot;---\n&quot;
<span class="lineNum">     477 </span>            :     &quot;- !e!foo \&quot;bar\&quot;&quot;;
<span class="lineNum">     478 </span>            : 
<span class="lineNum">     479 </span>            : const char *ex6_23 =
<span class="lineNum">     480 </span>            :     &quot;!!str &amp;a1 \&quot;foo\&quot;:\n&quot;
<span class="lineNum">     481 </span>            :     &quot;  !!str bar\n&quot;
<span class="lineNum">     482 </span>            :     &quot;&amp;a2 baz : *a1&quot;;
<span class="lineNum">     483 </span>            : 
<span class="lineNum">     484 </span>            : const char *ex6_24 =
<span class="lineNum">     485 </span>            :     &quot;!&lt;tag:yaml.org,2002:str&gt; foo :\n&quot;
<span class="lineNum">     486 </span>            :     &quot;  !&lt;!bar&gt; baz&quot;;
<span class="lineNum">     487 </span>            : 
<span class="lineNum">     488 </span>            : const char *ex6_25 =
<span class="lineNum">     489 </span>            :     &quot;- !&lt;!&gt; foo\n&quot;
<span class="lineNum">     490 </span>            :     &quot;- !&lt;$:?&gt; bar\n&quot;;
<span class="lineNum">     491 </span>            : 
<span class="lineNum">     492 </span>            : const char *ex6_26 =
<span class="lineNum">     493 </span>            :     &quot;%TAG !e! tag:example.com,2000:app/\n&quot;
<span class="lineNum">     494 </span>            :     &quot;---\n&quot;
<span class="lineNum">     495 </span>            :     &quot;- !local foo\n&quot;
<span class="lineNum">     496 </span>            :     &quot;- !!str bar\n&quot;
<span class="lineNum">     497 </span>            :     &quot;- !e!tag%21 baz\n&quot;;
<span class="lineNum">     498 </span>            : 
<span class="lineNum">     499 </span>            : const char *ex6_27a =
<span class="lineNum">     500 </span>            :     &quot;%TAG !e! tag:example,2000:app/\n&quot;
<span class="lineNum">     501 </span>            :     &quot;---\n&quot;
<span class="lineNum">     502 </span>            :     &quot;- !e! foo&quot;;
<span class="lineNum">     503 </span>            : 
<span class="lineNum">     504 </span>            : const char *ex6_27b =
<span class="lineNum">     505 </span>            :     &quot;%TAG !e! tag:example,2000:app/\n&quot;
<span class="lineNum">     506 </span>            :     &quot;---\n&quot;
<span class="lineNum">     507 </span>            :     &quot;- !h!bar baz&quot;;
<span class="lineNum">     508 </span>            : 
<span class="lineNum">     509 </span>            : const char *ex6_28 =
<span class="lineNum">     510 </span>            :     &quot;# Assuming conventional resolution:\n&quot;
<span class="lineNum">     511 </span>            :     &quot;- \&quot;12\&quot;\n&quot;
<span class="lineNum">     512 </span>            :     &quot;- 12\n&quot;
<span class="lineNum">     513 </span>            :     &quot;- ! 12&quot;;
<span class="lineNum">     514 </span>            : 
<span class="lineNum">     515 </span>            : const char *ex6_29 =
<span class="lineNum">     516 </span>            :     &quot;First occurrence: &amp;anchor Value\n&quot;
<span class="lineNum">     517 </span>            :     &quot;Second occurrence: *anchor&quot;;
<span class="lineNum">     518 </span>            : 
<span class="lineNum">     519 </span>            : const char *ex7_1 =
<span class="lineNum">     520 </span>            :     &quot;First occurrence: &amp;anchor Foo\n&quot;
<span class="lineNum">     521 </span>            :     &quot;Second occurrence: *anchor\n&quot;
<span class="lineNum">     522 </span>            :     &quot;Override anchor: &amp;anchor Bar\n&quot;
<span class="lineNum">     523 </span>            :     &quot;Reuse anchor: *anchor&quot;;
<span class="lineNum">     524 </span>            : 
<span class="lineNum">     525 </span>            : const char *ex7_2 =
<span class="lineNum">     526 </span>            :     &quot;{\n&quot;
<span class="lineNum">     527 </span>            :     &quot;  foo : !!str,\n&quot;
<span class="lineNum">     528 </span>            :     &quot;  !!str : bar,\n&quot;
<span class="lineNum">     529 </span>            :     &quot;}&quot;;
<span class="lineNum">     530 </span>            : 
<span class="lineNum">     531 </span>            : const char *ex7_3 =
<span class="lineNum">     532 </span>            :     &quot;{\n&quot;
<span class="lineNum">     533 </span>            :     &quot;  ? foo :,\n&quot;
<span class="lineNum">     534 </span>            :     &quot;  : bar,\n&quot;
<span class="lineNum">     535 </span>            :     &quot;}\n&quot;;
<span class="lineNum">     536 </span>            : 
<span class="lineNum">     537 </span>            : const char *ex7_4 =
<span class="lineNum">     538 </span>            :     &quot;\&quot;implicit block key\&quot; : [\n&quot;
<span class="lineNum">     539 </span>            :     &quot;  \&quot;implicit flow key\&quot; : value,\n&quot;
<span class="lineNum">     540 </span>            :     &quot; ]&quot;;
<span class="lineNum">     541 </span>            : 
<span class="lineNum">     542 </span>            : const char *ex7_5 =
<span class="lineNum">     543 </span>            :     &quot;\&quot;folded \n&quot;
<span class="lineNum">     544 </span>            :     &quot;to a space,\t\n&quot;
<span class="lineNum">     545 </span>            :     &quot; \n&quot;
<span class="lineNum">     546 </span>            :     &quot;to a line feed, or \t\\\n&quot;
<span class="lineNum">     547 </span>            :     &quot; \\ \tnon-content\&quot;&quot;;
<span class="lineNum">     548 </span>            : 
<span class="lineNum">     549 </span>            : const char *ex7_6 =
<span class="lineNum">     550 </span>            :     &quot;\&quot; 1st non-empty\n&quot;
<span class="lineNum">     551 </span>            :     &quot;\n&quot;
<span class="lineNum">     552 </span>            :     &quot; 2nd non-empty \n&quot;
<span class="lineNum">     553 </span>            :     &quot;\t3rd non-empty \&quot;&quot;;
<span class="lineNum">     554 </span>            : 
<span class="lineNum">     555 </span>            : const char *ex7_7 = &quot; 'here''s to \&quot;quotes\&quot;'&quot;;
<span class="lineNum">     556 </span>            : 
<span class="lineNum">     557 </span>            : const char *ex7_8 =
<span class="lineNum">     558 </span>            :     &quot;'implicit block key' : [\n&quot;
<span class="lineNum">     559 </span>            :     &quot;  'implicit flow key' : value,\n&quot;
<span class="lineNum">     560 </span>            :     &quot; ]&quot;;
<span class="lineNum">     561 </span>            : 
<span class="lineNum">     562 </span>            : const char *ex7_9 =
<span class="lineNum">     563 </span>            :     &quot;' 1st non-empty\n&quot;
<span class="lineNum">     564 </span>            :     &quot;\n&quot;
<span class="lineNum">     565 </span>            :     &quot; 2nd non-empty \n&quot;
<span class="lineNum">     566 </span>            :     &quot;\t3rd non-empty '&quot;;
<span class="lineNum">     567 </span>            : 
<span class="lineNum">     568 </span>            : const char *ex7_10 =
<span class="lineNum">     569 </span>            :     &quot;# Outside flow collection:\n&quot;
<span class="lineNum">     570 </span>            :     &quot;- ::vector\n&quot;
<span class="lineNum">     571 </span>            :     &quot;- \&quot;: - ()\&quot;\n&quot;
<span class="lineNum">     572 </span>            :     &quot;- Up, up, and away!\n&quot;
<span class="lineNum">     573 </span>            :     &quot;- -123\n&quot;
<span class="lineNum">     574 </span>            :     &quot;- http://example.com/foo#bar\n&quot;
<span class="lineNum">     575 </span>            :     &quot;# Inside flow collection:\n&quot;
<span class="lineNum">     576 </span>            :     &quot;- [ ::vector,\n&quot;
<span class="lineNum">     577 </span>            :     &quot;  \&quot;: - ()\&quot;,\n&quot;
<span class="lineNum">     578 </span>            :     &quot;  \&quot;Up, up, and away!\&quot;,\n&quot;
<span class="lineNum">     579 </span>            :     &quot;  -123,\n&quot;
<span class="lineNum">     580 </span>            :     &quot;  http://example.com/foo#bar ]&quot;;
<span class="lineNum">     581 </span>            : 
<span class="lineNum">     582 </span>            : const char *ex7_11 =
<span class="lineNum">     583 </span>            :     &quot;implicit block key : [\n&quot;
<span class="lineNum">     584 </span>            :     &quot;  implicit flow key : value,\n&quot;
<span class="lineNum">     585 </span>            :     &quot; ]&quot;;
<span class="lineNum">     586 </span>            : 
<span class="lineNum">     587 </span>            : const char *ex7_12 =
<span class="lineNum">     588 </span>            :     &quot;1st non-empty\n&quot;
<span class="lineNum">     589 </span>            :     &quot;\n&quot;
<span class="lineNum">     590 </span>            :     &quot; 2nd non-empty \n&quot;
<span class="lineNum">     591 </span>            :     &quot;\t3rd non-empty&quot;;
<span class="lineNum">     592 </span>            : 
<span class="lineNum">     593 </span>            : const char *ex7_13 =
<span class="lineNum">     594 </span>            :     &quot;- [ one, two, ]\n&quot;
<span class="lineNum">     595 </span>            :     &quot;- [three ,four]&quot;;
<span class="lineNum">     596 </span>            : 
<span class="lineNum">     597 </span>            : const char *ex7_14 =
<span class="lineNum">     598 </span>            :     &quot;[\n&quot;
<span class="lineNum">     599 </span>            :     &quot;\&quot;double\n&quot;
<span class="lineNum">     600 </span>            :     &quot; quoted\&quot;, 'single\n&quot;
<span class="lineNum">     601 </span>            :     &quot;           quoted',\n&quot;
<span class="lineNum">     602 </span>            :     &quot;plain\n&quot;
<span class="lineNum">     603 </span>            :     &quot; text, [ nested ],\n&quot;
<span class="lineNum">     604 </span>            :     &quot;single: pair,\n&quot;
<span class="lineNum">     605 </span>            :     &quot;]&quot;;
<span class="lineNum">     606 </span>            : 
<span class="lineNum">     607 </span>            : const char *ex7_15 =
<span class="lineNum">     608 </span>            :     &quot;- { one : two , three: four , }\n&quot;
<span class="lineNum">     609 </span>            :     &quot;- {five: six,seven : eight}&quot;;
<span class="lineNum">     610 </span>            : 
<span class="lineNum">     611 </span>            : const char *ex7_16 =
<span class="lineNum">     612 </span>            :     &quot;{\n&quot;
<span class="lineNum">     613 </span>            :     &quot;? explicit: entry,\n&quot;
<span class="lineNum">     614 </span>            :     &quot;implicit: entry,\n&quot;
<span class="lineNum">     615 </span>            :     &quot;?\n&quot;
<span class="lineNum">     616 </span>            :     &quot;}&quot;;
<span class="lineNum">     617 </span>            : 
<span class="lineNum">     618 </span>            : const char *ex7_17 =
<span class="lineNum">     619 </span>            :     &quot;{\n&quot;
<span class="lineNum">     620 </span>            :     &quot;unquoted : \&quot;separate\&quot;,\n&quot;
<span class="lineNum">     621 </span>            :     &quot;http://foo.com,\n&quot;
<span class="lineNum">     622 </span>            :     &quot;omitted value:,\n&quot;
<span class="lineNum">     623 </span>            :     &quot;: omitted key,\n&quot;
<span class="lineNum">     624 </span>            :     &quot;}&quot;;
<span class="lineNum">     625 </span>            : 
<span class="lineNum">     626 </span>            : const char *ex7_18 =
<span class="lineNum">     627 </span>            :     &quot;{\n&quot;
<span class="lineNum">     628 </span>            :     &quot;\&quot;adjacent\&quot;:value,\n&quot;
<span class="lineNum">     629 </span>            :     &quot;\&quot;readable\&quot;:value,\n&quot;
<span class="lineNum">     630 </span>            :     &quot;\&quot;empty\&quot;:\n&quot;
<span class="lineNum">     631 </span>            :     &quot;}&quot;;
<span class="lineNum">     632 </span>            : 
<span class="lineNum">     633 </span>            : const char *ex7_19 =
<span class="lineNum">     634 </span>            :     &quot;[\n&quot;
<span class="lineNum">     635 </span>            :     &quot;foo: bar\n&quot;
<span class="lineNum">     636 </span>            :     &quot;]&quot;;
<span class="lineNum">     637 </span>            : 
<span class="lineNum">     638 </span>            : const char *ex7_20 =
<span class="lineNum">     639 </span>            :     &quot;[\n&quot;
<span class="lineNum">     640 </span>            :     &quot;? foo\n&quot;
<span class="lineNum">     641 </span>            :     &quot; bar : baz\n&quot;
<span class="lineNum">     642 </span>            :     &quot;]&quot;;
<span class="lineNum">     643 </span>            : 
<span class="lineNum">     644 </span>            : const char *ex7_21 =
<span class="lineNum">     645 </span>            :     &quot;- [ YAML : separate ]\n&quot;
<span class="lineNum">     646 </span>            :     &quot;- [ : empty key entry ]\n&quot;
<span class="lineNum">     647 </span>            :     &quot;- [ {JSON: like}:adjacent ]&quot;;
<span class="lineNum">     648 </span>            : 
<span class="lineNum">     649 </span>            : const char *ex7_22 =
<span class="lineNum">     650 </span>            :     &quot;[ foo\n&quot;
<span class="lineNum">     651 </span>            :     &quot; bar: invalid,&quot;;  // Note: we don't check (on purpose) the &gt;1K chars for an
<span class="lineNum">     652 </span>            :                        // implicit key
<span class="lineNum">     653 </span>            : 
<span class="lineNum">     654 </span>            : const char *ex7_23 =
<span class="lineNum">     655 </span>            :     &quot;- [ a, b ]\n&quot;
<span class="lineNum">     656 </span>            :     &quot;- { a: b }\n&quot;
<span class="lineNum">     657 </span>            :     &quot;- \&quot;a\&quot;\n&quot;
<span class="lineNum">     658 </span>            :     &quot;- 'b'\n&quot;
<span class="lineNum">     659 </span>            :     &quot;- c&quot;;
<span class="lineNum">     660 </span>            : 
<span class="lineNum">     661 </span>            : const char *ex7_24 =
<span class="lineNum">     662 </span>            :     &quot;- !!str \&quot;a\&quot;\n&quot;
<span class="lineNum">     663 </span>            :     &quot;- 'b'\n&quot;
<span class="lineNum">     664 </span>            :     &quot;- &amp;anchor \&quot;c\&quot;\n&quot;
<span class="lineNum">     665 </span>            :     &quot;- *anchor\n&quot;
<span class="lineNum">     666 </span>            :     &quot;- !!str&quot;;
<span class="lineNum">     667 </span>            : 
<span class="lineNum">     668 </span>            : const char *ex8_1 =
<span class="lineNum">     669 </span>            :     &quot;- | # Empty header\n&quot;
<span class="lineNum">     670 </span>            :     &quot; literal\n&quot;
<span class="lineNum">     671 </span>            :     &quot;- &gt;1 # Indentation indicator\n&quot;
<span class="lineNum">     672 </span>            :     &quot;  folded\n&quot;
<span class="lineNum">     673 </span>            :     &quot;- |+ # Chomping indicator\n&quot;
<span class="lineNum">     674 </span>            :     &quot; keep\n&quot;
<span class="lineNum">     675 </span>            :     &quot;\n&quot;
<span class="lineNum">     676 </span>            :     &quot;- &gt;1- # Both indicators\n&quot;
<span class="lineNum">     677 </span>            :     &quot;  strip\n&quot;;
<span class="lineNum">     678 </span>            : 
<span class="lineNum">     679 </span>            : const char *ex8_2 =
<span class="lineNum">     680 </span>            :     &quot;- |\n&quot;
<span class="lineNum">     681 </span>            :     &quot; detected\n&quot;
<span class="lineNum">     682 </span>            :     &quot;- &gt;\n&quot;
<span class="lineNum">     683 </span>            :     &quot; \n&quot;
<span class="lineNum">     684 </span>            :     &quot;  \n&quot;
<span class="lineNum">     685 </span>            :     &quot;  # detected\n&quot;
<span class="lineNum">     686 </span>            :     &quot;- |1\n&quot;
<span class="lineNum">     687 </span>            :     &quot;  explicit\n&quot;
<span class="lineNum">     688 </span>            :     &quot;- &gt;\n&quot;
<span class="lineNum">     689 </span>            :     &quot; \t\n&quot;
<span class="lineNum">     690 </span>            :     &quot; detected\n&quot;;
<span class="lineNum">     691 </span>            : 
<span class="lineNum">     692 </span>            : const char *ex8_3a =
<span class="lineNum">     693 </span>            :     &quot;- |\n&quot;
<span class="lineNum">     694 </span>            :     &quot;  \n&quot;
<span class="lineNum">     695 </span>            :     &quot; text&quot;;
<span class="lineNum">     696 </span>            : 
<span class="lineNum">     697 </span>            : const char *ex8_3b =
<span class="lineNum">     698 </span>            :     &quot;- &gt;\n&quot;
<span class="lineNum">     699 </span>            :     &quot;  text\n&quot;
<span class="lineNum">     700 </span>            :     &quot; text&quot;;
<span class="lineNum">     701 </span>            : 
<span class="lineNum">     702 </span>            : const char *ex8_3c =
<span class="lineNum">     703 </span>            :     &quot;- |2\n&quot;
<span class="lineNum">     704 </span>            :     &quot; text&quot;;
<span class="lineNum">     705 </span>            : 
<span class="lineNum">     706 </span>            : const char *ex8_4 =
<span class="lineNum">     707 </span>            :     &quot;strip: |-\n&quot;
<span class="lineNum">     708 </span>            :     &quot;  text\n&quot;
<span class="lineNum">     709 </span>            :     &quot;clip: |\n&quot;
<span class="lineNum">     710 </span>            :     &quot;  text\n&quot;
<span class="lineNum">     711 </span>            :     &quot;keep: |+\n&quot;
<span class="lineNum">     712 </span>            :     &quot;  text\n&quot;;
<span class="lineNum">     713 </span>            : 
<span class="lineNum">     714 </span>            : const char *ex8_5 =
<span class="lineNum">     715 </span>            :     &quot; # Strip\n&quot;
<span class="lineNum">     716 </span>            :     &quot;  # Comments:\n&quot;
<span class="lineNum">     717 </span>            :     &quot;strip: |-\n&quot;
<span class="lineNum">     718 </span>            :     &quot;  # text\n&quot;
<span class="lineNum">     719 </span>            :     &quot;  \n&quot;
<span class="lineNum">     720 </span>            :     &quot; # Clip\n&quot;
<span class="lineNum">     721 </span>            :     &quot;  # comments:\n&quot;
<span class="lineNum">     722 </span>            :     &quot;\n&quot;
<span class="lineNum">     723 </span>            :     &quot;clip: |\n&quot;
<span class="lineNum">     724 </span>            :     &quot;  # text\n&quot;
<span class="lineNum">     725 </span>            :     &quot; \n&quot;
<span class="lineNum">     726 </span>            :     &quot; # Keep\n&quot;
<span class="lineNum">     727 </span>            :     &quot;  # comments:\n&quot;
<span class="lineNum">     728 </span>            :     &quot;\n&quot;
<span class="lineNum">     729 </span>            :     &quot;keep: |+\n&quot;
<span class="lineNum">     730 </span>            :     &quot;  # text\n&quot;
<span class="lineNum">     731 </span>            :     &quot;\n&quot;
<span class="lineNum">     732 </span>            :     &quot; # Trail\n&quot;
<span class="lineNum">     733 </span>            :     &quot;  # Comments\n&quot;;
<span class="lineNum">     734 </span>            : 
<span class="lineNum">     735 </span>            : const char *ex8_6 =
<span class="lineNum">     736 </span>            :     &quot;strip: &gt;-\n&quot;
<span class="lineNum">     737 </span>            :     &quot;\n&quot;
<span class="lineNum">     738 </span>            :     &quot;clip: &gt;\n&quot;
<span class="lineNum">     739 </span>            :     &quot;\n&quot;
<span class="lineNum">     740 </span>            :     &quot;keep: |+\n&quot;
<span class="lineNum">     741 </span>            :     &quot;\n&quot;;
<span class="lineNum">     742 </span>            : 
<span class="lineNum">     743 </span>            : const char *ex8_7 =
<span class="lineNum">     744 </span>            :     &quot;|\n&quot;
<span class="lineNum">     745 </span>            :     &quot; literal\n&quot;
<span class="lineNum">     746 </span>            :     &quot; \ttext\n&quot;
<span class="lineNum">     747 </span>            :     &quot;\n&quot;;
<span class="lineNum">     748 </span>            : 
<span class="lineNum">     749 </span>            : const char *ex8_8 =
<span class="lineNum">     750 </span>            :     &quot;|\n&quot;
<span class="lineNum">     751 </span>            :     &quot; \n&quot;
<span class="lineNum">     752 </span>            :     &quot;  \n&quot;
<span class="lineNum">     753 </span>            :     &quot;  literal\n&quot;
<span class="lineNum">     754 </span>            :     &quot;   \n&quot;
<span class="lineNum">     755 </span>            :     &quot;  \n&quot;
<span class="lineNum">     756 </span>            :     &quot;  text\n&quot;
<span class="lineNum">     757 </span>            :     &quot;\n&quot;
<span class="lineNum">     758 </span>            :     &quot; # Comment\n&quot;;
<span class="lineNum">     759 </span>            : 
<span class="lineNum">     760 </span>            : const char *ex8_9 =
<span class="lineNum">     761 </span>            :     &quot;&gt;\n&quot;
<span class="lineNum">     762 </span>            :     &quot; folded\n&quot;
<span class="lineNum">     763 </span>            :     &quot; text\n&quot;
<span class="lineNum">     764 </span>            :     &quot;\n&quot;;
<span class="lineNum">     765 </span>            : 
<span class="lineNum">     766 </span>            : const char *ex8_10 =
<span class="lineNum">     767 </span>            :     &quot;&gt;\n&quot;
<span class="lineNum">     768 </span>            :     &quot;\n&quot;
<span class="lineNum">     769 </span>            :     &quot; folded\n&quot;
<span class="lineNum">     770 </span>            :     &quot; line\n&quot;
<span class="lineNum">     771 </span>            :     &quot;\n&quot;
<span class="lineNum">     772 </span>            :     &quot; next\n&quot;
<span class="lineNum">     773 </span>            :     &quot; line\n&quot;
<span class="lineNum">     774 </span>            :     &quot;   * bullet\n&quot;
<span class="lineNum">     775 </span>            :     &quot;\n&quot;
<span class="lineNum">     776 </span>            :     &quot;   * list\n&quot;
<span class="lineNum">     777 </span>            :     &quot;   * lines\n&quot;
<span class="lineNum">     778 </span>            :     &quot;\n&quot;
<span class="lineNum">     779 </span>            :     &quot; last\n&quot;
<span class="lineNum">     780 </span>            :     &quot; line\n&quot;
<span class="lineNum">     781 </span>            :     &quot;\n&quot;
<span class="lineNum">     782 </span>            :     &quot;# Comment\n&quot;;
<span class="lineNum">     783 </span>            : 
<span class="lineNum">     784 </span><span class="lineNoCov">          0 : const char *ex8_11 = ex8_10;</span>
<span class="lineNum">     785 </span><span class="lineNoCov">          0 : const char *ex8_12 = ex8_10;</span>
<span class="lineNum">     786 </span><span class="lineNoCov">          0 : const char *ex8_13 = ex8_10;</span>
<span class="lineNum">     787 </span>            : 
<span class="lineNum">     788 </span>            : const char *ex8_14 =
<span class="lineNum">     789 </span>            :     &quot;block sequence:\n&quot;
<span class="lineNum">     790 </span>            :     &quot;  - one\n&quot;
<span class="lineNum">     791 </span>            :     &quot;  - two : three\n&quot;;
<span class="lineNum">     792 </span>            : 
<span class="lineNum">     793 </span>            : const char *ex8_15 =
<span class="lineNum">     794 </span>            :     &quot;- # Empty\n&quot;
<span class="lineNum">     795 </span>            :     &quot;- |\n&quot;
<span class="lineNum">     796 </span>            :     &quot; block node\n&quot;
<span class="lineNum">     797 </span>            :     &quot;- - one # Compact\n&quot;
<span class="lineNum">     798 </span>            :     &quot;  - two # sequence\n&quot;
<span class="lineNum">     799 </span>            :     &quot;- one: two # Compact mapping\n&quot;;
<span class="lineNum">     800 </span>            : 
<span class="lineNum">     801 </span>            : const char *ex8_16 =
<span class="lineNum">     802 </span>            :     &quot;block mapping:\n&quot;
<span class="lineNum">     803 </span>            :     &quot; key: value\n&quot;;
<span class="lineNum">     804 </span>            : 
<span class="lineNum">     805 </span>            : const char *ex8_17 =
<span class="lineNum">     806 </span>            :     &quot;? explicit key # Empty value\n&quot;
<span class="lineNum">     807 </span>            :     &quot;? |\n&quot;
<span class="lineNum">     808 </span>            :     &quot;  block key\n&quot;
<span class="lineNum">     809 </span>            :     &quot;: - one # Explicit compact\n&quot;
<span class="lineNum">     810 </span>            :     &quot;  - two # block value\n&quot;;
<span class="lineNum">     811 </span>            : 
<span class="lineNum">     812 </span>            : const char *ex8_18 =
<span class="lineNum">     813 </span>            :     &quot;plain key: in-line value\n&quot;
<span class="lineNum">     814 </span>            :     &quot;:  # Both empty\n&quot;
<span class="lineNum">     815 </span>            :     &quot;\&quot;quoted key\&quot;:\n&quot;
<span class="lineNum">     816 </span>            :     &quot;- entry\n&quot;;
<span class="lineNum">     817 </span>            : 
<span class="lineNum">     818 </span>            : const char *ex8_19 =
<span class="lineNum">     819 </span>            :     &quot;- sun: yellow\n&quot;
<span class="lineNum">     820 </span>            :     &quot;- ? earth: blue\n&quot;
<span class="lineNum">     821 </span>            :     &quot;  : moon: white\n&quot;;
<span class="lineNum">     822 </span>            : 
<span class="lineNum">     823 </span>            : const char *ex8_20 =
<span class="lineNum">     824 </span>            :     &quot;-\n&quot;
<span class="lineNum">     825 </span>            :     &quot;  \&quot;flow in block\&quot;\n&quot;
<span class="lineNum">     826 </span>            :     &quot;- &gt;\n&quot;
<span class="lineNum">     827 </span>            :     &quot; Block scalar\n&quot;
<span class="lineNum">     828 </span>            :     &quot;- !!map # Block collection\n&quot;
<span class="lineNum">     829 </span>            :     &quot;  foo : bar\n&quot;;
<span class="lineNum">     830 </span>            : 
<span class="lineNum">     831 </span>            : const char *ex8_21 =
<span class="lineNum">     832 </span>            :     &quot;literal: |2\n&quot;
<span class="lineNum">     833 </span>            :     &quot;  value\n&quot;
<span class="lineNum">     834 </span>            :     &quot;folded:\n&quot;
<span class="lineNum">     835 </span>            :     &quot;   !foo\n&quot;
<span class="lineNum">     836 </span>            :     &quot;  &gt;1\n&quot;
<span class="lineNum">     837 </span>            :     &quot; value\n&quot;;
<span class="lineNum">     838 </span>            : 
<span class="lineNum">     839 </span>            : const char *ex8_22 =
<span class="lineNum">     840 </span>            :     &quot;sequence: !!seq\n&quot;
<span class="lineNum">     841 </span>            :     &quot;- entry\n&quot;
<span class="lineNum">     842 </span>            :     &quot;- !!seq\n&quot;
<span class="lineNum">     843 </span>            :     &quot; - nested\n&quot;
<span class="lineNum">     844 </span>            :     &quot;mapping: !!map\n&quot;
<span class="lineNum">     845 </span>            :     &quot; foo: bar\n&quot;;
<span class="lineNum">     846 </span>            : }
</pre>
      </td>
    </tr>
  </table>
  <br>

  <table width="100%" border=0 cellspacing=0 cellpadding=0>
    <tr><td class="ruler"><img src="../glass.png" width=3 height=3 alt=""></td></tr>
    <tr><td class="versionInfo">Generated by: <a href="http://ltp.sourceforge.net/coverage/lcov.php" target="_parent">LCOV version 1.11</a></td></tr>
  </table>
  <br>

</body>
</html>
